package com.red.star.wechat.data.mappers;

import com.red.star.wechat.data.core.base.MyMapper;
import com.red.star.wechat.data.entity.Group;
import com.red.star.wechat.data.entity.Require;
import com.red.star.wechat.data.entity.RequirePojo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RequireMapper extends MyMapper<Require> {

    public List<RequirePojo> findRequirePojoList(RequirePojo requirePojo);

    public List<Group> getGroupList();

    public RequirePojo examineRequires(Integer requireId);

    public List<RequirePojo> findRequireByRId(RequirePojo requirePojo,@Param("requireId") Integer requireId);

    public List<RequirePojo> findRequireCardById(@Param("requireId")Integer requireId);

    public RequirePojo findRequireCardByRId(@Param("requireId") Integer requireId);
}
